<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>已有分类管理</title>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<script language="javascript" type="text/javascript" src="{dede:cfg.cmspath/}/js/j.js"></script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="wrapper lineT">
  <div class="mainBox">
    <div class="main">
      <?php include(DEDEMEMBER."/templets/menu.php"); ?>
      <div class="dedeMain">
        <div class="location">已有分类管理</div>
        <div class="titleTabBar bgGreen lineTB">
          <ul>
            <li class="select"><a href="mtypes.php">分类管理</a></li>
            <li><a href="flink_main.php">书签管理</a></li>
            <li><a href="edit_baseinfo.php">个人资料</a></li>
          </ul>
        </div>
        <div class="mTB10 mL10 mR10">
          <form class="mTB10 fRight" action="mtypes.php?dopost=add" method="post">
            添加分类：
            <input type="text" name="mtypename" class="text" />
            <button class="button2" type="submit">添加</button>
          </form>
          <div class="clear"></div>
          <form action="mtypes.php?dopost=save" method="post">
            <table cellspacing="1" class="list mT10">
              <thead>
                <tr>
                  <th width="1%">删?</th>
                  <th width="10%">分类ID</th>
                  <th>分类名称</th>
                </tr>
              </thead>
              <tbody>
              
              {dede:array.mtypearr}
              <tr>
                <td><input type="checkbox" name="mtypeidarr[]" value="{dede:value.mtypeid/}"/></td>
                <td align="center">{dede:value.mtypeid/}</td>
                <td><input type="text" name="mtypename[{dede:value.mtypeid/}]" value="{dede:value.mtypename/}" class="text" /></td>
              </tr>
              {/dede:array}
              </tbody>
              
              <tfoot>
                <tr>
                  <td colspan="6"><div class="fLeft">
                      <button class="button2" type="submit">提交</button>
                    </div></td>
                </tr>
              </tfoot>
            </table>
          </form>
        </div>
      </div>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
</div>
</body>
</html>
